<template>
  <div>

      <h1>主页面</h1>

      <TOW_ZJ :age1=age ></TOW_ZJ>
      <br>
      <SS_ZJ @haha=sho2></SS_ZJ>
      {{name}}
  </div>
</template>
<script>
import tow_zj from './two'
import ss_zj from './three'
export default {
    
data(){
    return{
age:18,name:""
    }
},components:{
    TOW_ZJ:tow_zj,
    SS_ZJ:ss_zj
},methods:{
    sho2(e,e1){
      this.name=e
    }
}
}
</script>

<style>

</style>